package cn.javass.dp.command.example2;

public class UpdateCommand implements Command {


    private MainBoardApi mainBoardApi = null;

    public UpdateCommand(MainBoardApi mainBoardApi) {
        this.mainBoardApi = mainBoardApi;
    }

    @Override
    public void execute() {
        mainBoardApi.reset();
    }

}
